Add proper annotation for gdk_frame_clock_get_refresh_info
authorSander Sweers <infirit@gmail.com>
Mon, 12 Mar 2018 13:29:09 +0000 (14:29 +0100)
committerSander Sweers <infirit@gmail.com>
Mon, 12 Mar 2018 15:06:46 +0000 (16:06 +0100)
See https://gitlab.gnome.org/GNOME/gtk/issues/77

gdk/gdkframeclock.c

index f8450435ff198f3ed5cc528c6cbffae055539427..d8ea953d9aedfbaf62f46d688ace34d9492a21a4 100644 (file)
@@ -541,10 +541,10 @@ _gdk_frame_clock_debug_print_timings (GdkFrameClock   *clock,
  * gdk_frame_clock_get_refresh_info:
  * @frame_clock: a #GdkFrameClock
  * @base_time: base time for determining a presentaton time
- * @refresh_interval_return: a location to store the determined refresh
- *  interval, or %NULL. A default refresh interval of 1/60th of
- *  a second will be stored if no history is present.
- * @presentation_time_return: a location to store the next
+ * @refresh_interval_return: (out) (optional): a location to store the
+ * determined refresh interval, or %NULL. A default refresh interval of
+ * 1/60th of a second will be stored if no history is present.
+ * @presentation_time_return: (out): a location to store the next
  *  candidate presentation time after the given base time.
  *  0 will be will be stored if no history is present.
  *